
<%@ page import="sige.RendimentoBimestral" %>
<div class="control-group" >
    <label  class="control-label" for="bimestre">
		<g:message code="rendimentoBimestral.bimestre.label" default="Bimestre" />
		<span class="required-indicator">*</span>
    </label>
    <div class="controls" > 
	<g:select id="bimestre" name="bimestre.id" from="${sige.Bimestre.list()}" optionKey="id" required="" value="${rendimentoBimestralInstance?.bimestre?.id}" class="many-to-one"/>
    </div>
</div>

<div class="control-group" >
    <label  class="control-label" for="notas">
		<g:message code="rendimentoBimestral.notas.label" default="Notas" />
		
    </label>
    <div class="controls" > 
	
<ul class="one-to-many">
<g:each in="${rendimentoBimestralInstance?.notas?}" var="n">
    <li><g:link controller="nota" action="show" id="${n.id}">${n?.encodeAsHTML()}</g:link></li>
</g:each>
<li class="add">
<g:link controller="nota" action="create" params="['rendimentoBimestral.id': rendimentoBimestralInstance?.id]">${message(code: 'default.add.label', args: [message(code: 'nota.label', default: 'Nota')])}</g:link>
</li>
</ul>

    </div>
</div>

<div class="control-group" >
    <label  class="control-label" for="rendimento">
		<g:message code="rendimentoBimestral.rendimento.label" default="Rendimento" />
		<span class="required-indicator">*</span>
    </label>
    <div class="controls" > 
	<g:select id="rendimento" name="rendimento.id" from="${sige.RendimentoEscolar.list()}" optionKey="id" required="" value="${rendimentoBimestralInstance?.rendimento?.id}" class="many-to-one"/>
    </div>
</div>

